package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品对象 mes_product
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    private Integer id;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String prodId;

    public String getOldProdId() {
        return oldProdId;
    }

    public void setOldProdId(String oldProdId) {
        this.oldProdId = oldProdId;
    }

    private String oldProdId;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String prodName;

    /** BOM编码 */
    @Excel(name = "BOM编码")
    private String bomId;

    /** 工艺编码 */
    @Excel(name = "工艺编码")
    private String tecId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProdId(String prodId) 
    {
        this.prodId = prodId;
    }

    public String getProdId() 
    {
        return prodId;
    }
    public void setProdName(String prodName) 
    {
        this.prodName = prodName;
    }

    public String getProdName() 
    {
        return prodName;
    }
    public void setBomId(String bomId) 
    {
        this.bomId = bomId;
    }

    public String getBomId() 
    {
        return bomId;
    }
    public void setTecId(String tecId) 
    {
        this.tecId = tecId;
    }

    public String getTecId() 
    {
        return tecId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prodId", getProdId())
            .append("prodName", getProdName())
            .append("bomId", getBomId())
            .append("tecId", getTecId())
            .toString();
    }
}
